package com.xl.cronjob;

import org.springframework.stereotype.Component;

@Component
public class MyJob {

    //@Scheduled(cron = "0/5 * * * * ?")
    public void test() {
        //要执行的任务代码
        //System.out.println("定时任务执行了");

    }
}
